

            function addArduinoCod (Blockly) {
            
                        
                        

                        
        Blockly.Arduino['EXT_FLAME_SENSOR_BLOCK_1608020311053'] = function(block)
        {
            let pin = this.getFieldValue('pin');
          
            Blockly.Arduino.definitions_['include_EXT_FLAME_SENSOR_BLOCK_1608020311053'] = ``;
            Blockly.Arduino.definitions_['define_EXT_FLAME_SENSOR_BLOCK_1608020311053'] = `#define FlamelAnalogPin${pin}   ${pin}`;
            Blockly.Arduino.definitions_['setup_EXT_FLAME_SENSOR_BLOCK_1608020311053'] = ``;
             return  [`analogRead(FlamelAnalogPin${pin})`];
        }
                    

                        
        Blockly.Arduino['EXT_FLAME_SENSOR_BLOCK_1608020311241'] = function(block)
        {
            let pin = this.getFieldValue('pin');
          
            Blockly.Arduino.definitions_['include_EXT_FLAME_SENSOR_BLOCK_1608020311241'] = ``;
            Blockly.Arduino.definitions_['define_EXT_FLAME_SENSOR_BLOCK_1608020311241'] = `#define FlamelDigitalPin${pin}  ${pin}`;
            Blockly.Arduino.definitions_['setup_EXT_FLAME_SENSOR_BLOCK_1608020311241'] = ``;
             return  [`digitalRead(FlamelDigitalPin${pin})==0`];
        }
                    
            return Blockly;
            }

            module.exports = addArduinoCod ;

        